package businesslogic.Orderbl;

import VO.OrderInfoVO;
import service.OrderService.WithdrawOrderService;
import util.Message;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class WithdrawOrder extends UnicastRemoteObject implements WithdrawOrderService {
    private static final long serialVersionUID = -4154797560270341921L;

    public WithdrawOrder() throws RemoteException {
        super();
    }

    public Message changeOrder(String orderID)throws RemoteException {
        return Message.SUCCESS;
    }


    public OrderInfoVO getOrderInfo(String orderID)throws RemoteException {
    	OrderInfoVO orderVO=new OrderInfoVO("1", "2", null, null, null, 0, 0, false, null, null, null, null, null, null, null);
        
    	return orderVO;
    }

    public boolean checkSixHour(String orderID) throws RemoteException{
        return true;
    }

}
